import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NgxEchartsModule } from 'ngx-echarts';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { Test1Component } from './components/test1/test1.component';
import { HttpClientModule } from '@angular/common/http';
import { BgComponent } from './components/bg/bg.component';
import { PictComponent } from './components/pict/pict.component';
import { FormsModule} from "@angular/forms";

@NgModule({
  declarations: [
    AppComponent,
    Test1Component,
    BgComponent,
    PictComponent
  ],
  imports: [
    FormsModule,
    BrowserModule,
    HttpClientModule ,
    AppRoutingModule,
    NgxEchartsModule.forRoot({
      echarts: () => import('echarts')
    })
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}
